package damo.test;

import java.util.Random;

import praca.framework.Vector;

public class PlatekSniegu {


		
		public Vector position;
		public Vector velocity;
		Random rand;
		
		public PlatekSniegu(){
			rand = new Random();
			position = new Vector(rand.nextFloat()*800, rand.nextFloat()*480+20);
			velocity = new Vector(0,(int)(Math.random()*-10-5));
			
		}
		
		public void reinitialize(){
			position.setXY(rand.nextFloat()*800, 530);
			velocity.setXY(0,(int)(Math.random()*-10-5));
		}
		
	

}
